package com.ay.test;

import java.util.Observable;

/**
 * @Author: ay
 * @Date: 2021/3/5
 * @Description:
 **/
public class ConcreteSubject extends Observable {

    private int num;


    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }


    public void changed(){
        this.setChanged();
    }
}
